Skip to content

Conversation

@SpongeBob0318
Copy link

实现pdf解析得到的Json文件转成word和latex
实现pdf解析翻译得到的或者直接输入的md转成word和latex

@paddle-bot
Copy link

paddle-bot bot commented Sep 29, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Sep 29, 2025
@@ -0,0 +1,57 @@
# Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copyright 2025

import json, os, re


def escape_latex(s: str) -> str:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

英文

@@ -0,0 +1,248 @@
<div style="text-align: center;"><img alt="Image" src="imgs/img_in_image_box_178_142_299_309.jpg" width="10%"/></div>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删除例子文件

Comment on lines 37 to 40
"docx": "python-docx",
"docx.enum.text": "python-docx",
"docx.oxml.ns": "python-docx",
"docx.shared": "python-docx",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议只写 docx

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

收到

@Sunting78 Sunting78 merged commit 031b761 into PaddlePaddle:develop Oct 29, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants